package com.gdteam.kernel.content;

import com.gdteam.kernel.Service;

/**
 * Content Indexation service, first created to 
 * propose device indexation operation.
 * A device can be :
 * <ul>
 *      <li>a local hard disk</li>
 *      <li>a Personal Sharing Device</li>
 * </ul>
 * Since Removable Device indexation service lifecycle matches both
 * gdteamPSD lifecycle and connection lifetime, one should consider
 * Attaching Device content indexation to PSDSession operations, just the
 * same way as for Synchronization operation.
 *
 */
public interface ContentIndexationService extends Service {
    
    String FQN = "com.gdteam.agent.content.indexationservice";
    
    /**
     * One can add paths to indexation mechanism
     * @param paths paths list (non exhaustive)
     * @return indexation service reference
     */
    ContentIndexationService addIndexablePaths(String... paths);
    
    
    String getIndexPath();

}
